import Vue from 'vue'
import App from './App.vue'
//引入mui
import './lib/css/mui.css'
//mintui
import {Header} from 'mint-ui'
Vue.component(Header.name,Header)
import 'mint-ui/lib/style.css'
//tabbar
import { Tabbar, TabItem } from 'mint-ui';
Vue.component(Tabbar.name, Tabbar);
Vue.component(TabItem.name, TabItem);
//router
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import router from './router.js'
//swiper
import { Swipe, SwipeItem } from 'mint-ui';
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
//button
import { Button } from 'mint-ui';
Vue.component(Button.name, Button);
//Navbar
import { Navbar} from 'mint-ui';
Vue.component(Navbar.name, Navbar);
//tabcontainer
import { TabContainer, TabContainerItem } from 'mint-ui';
Vue.component(TabContainer.name, TabContainer);
Vue.component(TabContainerItem.name, TabContainerItem);
//field
import { Field } from 'mint-ui';
Vue.component(Field.name, Field);
//search
import { Search } from 'mint-ui';
Vue.component(Search.name, Search);
//cell
import { Cell } from 'mint-ui';
Vue.component(Cell.name, Cell);
import { CellSwipe } from 'mint-ui';
Vue.component(CellSwipe.name, CellSwipe);
import { Lazyload } from 'mint-ui';
Vue.use(Lazyload);
//messagebox
import { MessageBox } from 'mint-ui';
Vue.prototype.$MessageBox=MessageBox;
//引入axios
import axios from 'axios'

import store from './stores'

Vue.config.productionTip = false

Vue.prototype.axios=axios;

new Vue({
	render: h => h(App),
  router,
  store
}).$mount('#app')
